package com.hzw.saas.service.user.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hzw.saas.common.config.model.BaseLogicModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/4/23 14:01
 */
@Data
@Accessors(chain = true)
@TableName(value = "tb_staff")
@EqualsAndHashCode(callSuper = false)
public class Staff extends BaseLogicModel implements Serializable {

    /**
     * 销售人姓名
     */
    private String staffName;

    /**
     * 销售人手机号码
     */
    private String staffPhoneNo;

    /**
     * 销售人手机号码
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED )
    private String staffPhoneNo1;

    /**
     * 销售人手机号码
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED )
    private String staffPhoneNo2;

    /**
     * 销售人邮箱
     */
    private String staffEmail;

    /**
     * 职位
     */
    private String title;

    /**
     * 是否是默认销售
     */
    private Integer isDefault;

}
